// pre
// var baseUrl = 'http://xiechang2-fat.sfrog.cn:8190'
// var baseScreenUrl = 'http://xc-screen.sfrog.cn'
// var pathUrl = 'http://xiechang2-fat.sfrog.cn/DataView2/index.html'
// var pcLoginUrl = 'http://xiechang2-fat.sfrog.cn/user.html'
// uat
// var baseUrl = 'http://xiechang2.xiechang.com:8189'
// var baseScreenUrl = 'http://xc-screen.xiechang.com'
// var pathUrl = 'http://xiechang2.xiechang.com/DataView2/index.html'
// var pcLoginUrl = 'http://xiechang2.xiechang.com/user.html'

// k8s部署(接口走管理端，socket走数用户端)
var baseUrl = 'http://175.24.141.4'
var baseScreenUrl = 'http://xc-screen.xiechang.com'
var pathUrl = 'http://xiechang2.xiechang.com/DataView2/index.html'
var pcLoginUrl = 'http://xiechang2.xiechang.com/user.html'

// prod
// var baseUrl = 'http://xcloudadmin.xiechang.com:8190'
// var baseScreenUrl = 'http://biz-screen.xiechang.com'
// var pathUrl = 'http://xcloudadmin.xiechang.com/DataView2/index.html'

function getUrlParams(name) {
  var params = {};
  location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (str, key, value) {
    params[key] = value;
  });
  return params[name] || params
}
